﻿package src.game.managers{
	import src.game.Letter;
	
	public class ObjectManager {
		private var animatedObjects:Vector.<Letter>;
		
		public function ObjectManager() {
			animatedObjects = new Vector.<Letter>();
		}
		
		public function update():void {
			for (var i:int = 0; i<animatedObjects.length; i++)
				animatedObjects[i].update();
		}
		
		public function add(object:Letter):void {
			animatedObjects.push(object);
		}
	}
	
}
